It comes of the Eupatrid System in the Ear before Qin Dynasty, that is the officials are nominated by the King, and the official positions are descendent.
All the firstling males that come of thy herd and of thy flock thou shalt sanctify unto the LORD thy God: thou shalt do no work with the firstling of thy bullock, nor shear the firstling of thy sheep.